package interview.oop.company;

import java.util.List;

public class Employee
{
	static List<Employee> allEmployees;// 存一份
	String name;// 存一万份
	int salary;// 存一万份

	void doWwork()
	{
		loadAllEmployees();// OK
	}

	void getPaid(BankEndPoint bank)
	{
		bank.payment(name, salary);
	}

	static void loadAllEmployees()
	{
		// Loads all employees from database.
	}

}
